<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/Article" lang="en">
<head prefix="og: http://ogp.me/ns#">
	<meta charset="utf-8">
	<title>{$page_title}</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,width=device-width">
	<!-- Base meta data --> 
	<meta name="title" content="{$page_title}">
	<meta name="description" content="{$page_description}">
	<meta name="keywords" content="{$page_keywords}">
	<!-- Schema.org markup for Google+ --> 
	<meta itemprop="name" content="{$page_title}">
	<meta itemprop="description" content="{$page_description}">
	<meta itemprop="image" content="{$image_src}">
	<!-- Twitter Card data --> 
	<meta name="twitter:card" content="summary">
	<meta name="twitter:site" content="@TrieuIV">
	<meta name="twitter:title" content="{$page_title}">
	<meta name="twitter:description" content="{$page_description}">
	<meta name="twitter:creator" content="@TrieuIV">
	<meta name="twitter:image:src" content="{$image_src}">
	<meta name="twitter:domain" content="ChipGames.net">
	<!-- Open Graph data -->
	<meta property="og:title" content="{$page_title}">
	<meta property="og:image" content="{$image_src}">
	<meta property="og:site_name" content="Chip's Games">
	<meta property="og:description" content="{$page_description}">
	<meta property="og:url" content="{$base_url}">	
	<meta property="og:type" content="{if isset($og_type)}game{else}website{/if}">	

	<meta property="article:published_time" content="2013-09-17T05:59:00+01:00" />
    <meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
    <meta property="article:section" content="Travel" />
    <meta property="article:tag" content="California" />
    <meta property="article:tag" content="Travel" />
    <meta property="article:tag" content="United States" />

	<link rel="canonical" href="{$base_url}">
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <!-- Stylesheets -->
	<link rel="stylesheet" href="/static/css/front/index.css" type="text/css" media="screen">
	{if isset($play_now)}
	<link rel="stylesheet" href="/static/css/buttons.css" type="text/css" media="screen">
	{/if}
	<!--[if lt IE 9]>
		<script type="text/javascript" src="/static/js/html5shiv.js"></script>
		<script type="text/javascript" src="/static/js/selectivizr.js"></script>
		<script type="text/javascript" src="/static/js/respond.js"></script>
	<![endif]-->
	<script type="text/javascript" src="/static/js/jquery-1.8.3.min.js"></script>
	{if !$is_mobile}
		{if isset($play_now)}
			{if $game_type == 'unity3d'}
				<script type="text/javascript">
				<!--
				var unityObjectUrl = "http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js";
				if (document.location.protocol == 'https:')
					unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-");
				document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>');
				-->
				</script>
			{/if}
		{/if}
	{/if}
</head>
<body>
	<header>
		<div class="container header">
			<div id="logo"><img src="{$url_adress}static/img/front/logo.png" width="250" height="90" alt="Chip Games"></div>
			<div id="top_ads_728x90">{include file="templates/ads/ads_responsive.tpl"}</div>
		</div>
		<!-- TOP MENU -->
		<div id="top-menu">
			<div id='cssmenu'>
				<ul>
					<li{if isset($is_home)} class="active"{/if}><a href="/" title="{$text_home}"><span>{$text_home}</span></a></li>
					<li{if isset($is_played)} class="active"{/if}><a href="/most-played" title="{$text_most_played}"><span>{$text_most_played}</span></a></li>
					<li{if isset($is_newest)} class="active"{/if}><a href="/new-games" title="{$text_newest}"><span>{$text_newest}</span></a></li>
					<li{if isset($is_rated)} class="active"{/if}><a href="/highest-rated" title="{$text_top_rate}"><span>{$text_top_rate}</span></a></li>
					<li class="has-sub{if isset($is_category)} active{/if}"><a><span>Categories</span></a>
						<ul>
						{foreach $catMenuTop as $key=>$value}
							<li><a href="{$control_cat}{$value['c_url']}" title="{$value['c_name']} {$title_text_games}"><span>{$value['c_name']}</span></a></li>
						{/foreach}
						</ul>
					</li>
					<li class="last search">
						<form action="/search/" method="get" id="search_games">
							<input type="text" name="keyword" id="search-input" class="search-query" placeholder="{$text_input_search_games}" value="{if isset($keyword)}{$keyword}{/if}">
						</form>
					</li>
				</ul>
			</div>
		</div>
	</header>